package com.bjpowernode.crm.mapper;

import com.bjpowernode.crm.pojo.Page;
import com.bjpowernode.crm.pojo.Role;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;
import java.util.List;

public interface QxMapper {
    List<Role> getAllRole(@Param("index") Integer index, @Param("rowsPerPage") Integer rowsPerPage);

    Integer getTotal();

    void addQx(Role role);

    void delQx(String[] ids);

    Role getRole(String id);
}
